<!-- 首页工具栏 -->
<div class="headerRt" th:fragment="indextool">
        	<!-- 已登录状态  -->
            <ul class="alreadyLogIn" th:if="${user != null}">
                <li class="headerRt-li">
			        <a class="headerRt-liA currencySearch" href="javascript:;">
			        	<i class="iconfont iconfont1 headerRt-liA-img">&#xe7be;</i>
			        </a>
			    </li>
                <li class="headerRt-li">
			        <!-- <a class="headerRt-liA postedits" href="/publish">
			        	<i class="iconfont headerRt-liA-img">&#xe7b8;</i>
			        </a> -->
			        <a class="headerRt-liA postedits" href="/profile_v2/puyouquan">
			        	<i class="iconfont headerRt-liA-img">&#xe7b8;</i>
			        </a>
			    </li>
                <li class="headerRt-li">
                    <a class="headerRt-liA" href="/u/notice" title="消息">
                    	<i class="iconfont headerRt-liA-img">&#xe7c2;</i>
                    </a>
                </li>
                <li class="headerRt-li" th:attr="data-userid=${user.userId}" id="userid">
                    <a class="headerRt-liA" href="/u/profile">
                    	<img class="headerRt-liA-img headerRt-liA-NoBg" th:src="${user.avatar}" alt=""/>
                    </a>
                	<div class="headerRt-liCol">
                        <ul>
                            <li class="headerRt-liCol-li">
                                <a class="headerRt-liCol-liA" href="/u/usersettings" target="_blank"><span class="headerRt-liCol-liAs">账号设置</span></a>
                            </li>
                            <li class="headerRt-liCol-li">
                                <a class="headerRt-liCol-liA" href="javascript:;" lay-event="logout"><span class="headerRt-liCol-liAs">退出登录</span></a>
                            </li>
                        </ul>
                    </div>
                </li>
            </ul>
            
            <!-- 未登录状态 -->
            <ul class="notLogIn" th:if="${user == null}">
                <li class="headerRt-li">
                    <a class="headerRt-liA currencySearch" href="javascript:;">
                    	<img class="headerRt-liA-img" src="/assets/images/Headline.png" alt=""/>
                   	</a>
                </li>
                <li class="headerRt-li" data-userid="" id="userid">
                    <a class="headerRt-liB" href="/login" >登录/注册</a>
                </li>
            </ul>
        </div>
